/*
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2022-09-01 15:57:41
 * @LastEditTime: 2022-09-01 16:54:24
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \yili-musicd:\Developer\WGJ\VSCode_WorkSpace\Java\MyBatis\MyBatis_demo2\src\main\java\com\atguigu\mybatis\mapper\SQLMapper.java
 * @Description:
 */
package com.atguigu.mybatis.mapper;

import java.util.List;

import com.atguigu.mybatis.pojo.User;

import org.apache.ibatis.annotations.Param;

public interface SQLMapper {

    /**
     * 根据用户名模糊查询用户信息
     */
    List<User> getUserByLike(@Param("username") String username);

    /**
     * 批量删除
     */
    int deleteMore(@Param("ids") String ids);

    /**
     * 查询指定表中的数据
     */
    List<User> getUserByTableName(@Param("tableName") String tableName);

    /**
     * 添加用用户信息
     */
    void insertUser(User user);
}
